<template>
  <svg
    class="yindu-icon"
    width="16px"
    height="16px"
    viewBox="0 0 16 16"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <defs>
      <polygon id="address-path-1" points="0 0 13.367 0 13.367 16 0 16"></polygon>
    </defs>
    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
      <g transform="translate(-703.000000, -111.000000)">
        <g transform="translate(703.000000, 111.000000)">
          <rect x="0" y="0" width="16" height="16"></rect>
          <g transform="translate(1.000000, 0.000000)">
            <mask id="address-mask-2" fill="white">
              <use xlink:href="#address-path-1"></use>
            </mask>
            <g id="Clip-2"></g>
            <path
              d="M6.6837,9.448 C5.1597,9.448 3.9197,8.208 3.9197,6.684 C3.9197,5.16 5.1597,3.92 6.6837,3.92 C8.2077,3.92 9.4477,5.16 9.4477,6.684 C9.4477,8.208 8.2077,9.448 6.6837,9.448 M6.6837,0 C2.9977,0 -0.0003,2.998 -0.0003,6.684 C-0.0003,8.523 0.7697,10.299 2.1047,11.552 L6.6837,16 L11.2567,11.558 C12.5977,10.299 13.3677,8.523 13.3677,6.684 C13.3677,2.998 10.3697,0 6.6837,0"
              id="Fill-1"
              fill="#3D88F2"
              mask="url(#address-mask-2)"
            ></path>
          </g>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(),{
  fill: '#3D88F2'
})

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path {
    fill: v-bind(fillColor);
  }
}
</style>
